export const PAGE_SIZE = 10;

//登录页面名字
export const PAGE_PATH_LOGIN = "/login";
//首页页面名字
export const HOME_PAGE_PATH = "/home/index";

//404页面名字
export const PAGE_PATH_404 = "/404";

export const showTableTotal = function (total) {
  return `共${total}条`;
};

export const FLAG_NUMBER_ENUM = {
  TRUE: {
    value: 1,
    desc: "是"
  },
  FALSE: {
    value: 0,
    desc: "否"
  }
};

export const GENDER_ENUM = {
  UNKNOWN: {
    value: 0,
    desc: "未知"
  },
  MAN: {
    value: 1,
    desc: "男"
  },
  WOMAN: {
    value: 2,
    desc: "女"
  }
};

export const USER_TYPE_ENUM = {
  ADMIN_EMPLOYEE: {
    value: 1,
    desc: "员工"
  }
};

export const DATA_TYPE_ENUM = {
  NORMAL: {
    value: 1,
    desc: "普通"
  },
  ENCRYPT: {
    value: 10,
    desc: "加密"
  }
};

// 民族选项常量
export const ETHNICITY_OPTIONS = [
  { text: "汉族", value: "Han" },
  { text: "蒙古族", value: "Menggu" },
  { text: "回族", value: "Hui" },
  { text: "藏族", value: "Zang" },
  { text: "维吾尔族", value: "Weiwuer" },
  { text: "苗族", value: "Miao" },
  { text: "彝族", value: "Yi" },
  { text: "壮族", value: "Zhuang" },
  { text: "布依族", value: "Buyi" },
  { text: "朝鲜族", value: "Chaoxian" },
  { text: "满族", value: "Man" },
  { text: "侗族", value: "Dong" },
  { text: "瑶族", value: "Yao" },
  { text: "白族", value: "Bai" },
  { text: "土家族", value: "Tujia" },
  { text: "哈尼族", value: "Hani" },
  { text: "哈萨克族", value: "Hasake" },
  { text: "傣族", value: "Dai" },
  { text: "黎族", value: "Li" },
  { text: "傈僳族", value: "Lisu" },
  { text: "佤族", value: "Wa" },
  { text: "畲族", value: "She" },
  { text: "高山族", value: "Gaoshan" },
  { text: "拉祜族", value: "Lahu" },
  { text: "水族", value: "Shui" },
  { text: "东乡族", value: "Dongxiang" },
  { text: "纳西族", value: "Naxi" },
  { text: "景颇族", value: "Jingpo" },
  { text: "柯尔克孜族", value: "Keerkezi" },
  { text: "土族", value: "Tu" },
  { text: "达斡尔族", value: "Dawoer" },
  { text: "仫佬族", value: "Mulao" },
  { text: "羌族", value: "Qiang" },
  { text: "布朗族", value: "Bulang" },
  { text: "撒拉族", value: "Sala" },
  { text: "毛南族", value: "Maonan" },
  { text: "仡佬族", value: "Gelao" },
  { text: "锡伯族", value: "Xibo" },
  { text: "阿昌族", value: "Achang" },
  { text: "普米族", value: "Pumi" },
  { text: "塔吉克族", value: "Tajike" },
  { text: "怒族", value: "Nu" },
  { text: "乌孜别克族", value: "Wuzibieke" },
  { text: "俄罗斯族", value: "Eluosi" },
  { text: "鄂温克族", value: "Ewenke" },
  { text: "德昂族", value: "Deang" },
  { text: "保安族", value: "Baoan" },
  { text: "裕固族", value: "Yugu" },
  { text: "京族", value: "Jing" },
  { text: "塔塔尔族", value: "Tataer" },
  { text: "独龙族", value: "Dulong" },
  { text: "鄂伦春族", value: "Elunchun" },
  { text: "赫哲族", value: "Hezhe" },
  { text: "门巴族", value: "Menba" },
  { text: "珞巴族", value: "Luoba" },
  { text: "基诺族", value: "Jinuo" }
];

// 文化程度选项常量
export const EDUCATION_OPTIONS = [
  { text: "小学", value: "primary" },
  { text: "初中", value: "junior_high" },
  { text: "高中（含中专、职高、技校）", value: "senior_high" },
  { text: "大专（全日制 / 非全日制）", value: "college" },
  { text: "本科（全日制 / 非全日制）", value: "bachelor" },
  { text: "硕士研究生（全日制 / 非全日制）", value: "master" },
  { text: "博士研究生（全日制 / 非全日制）", value: "doctor" }
];

// 婚姻状况选项常量
export const MARITAL_STATUS_OPTIONS = [
  { text: "未婚", value: "single" },
  { text: "已婚（含初婚、再婚）", value: "married" },
  { text: "离异", value: "divorced" },
  { text: "丧偶", value: "widowed" }
];
